package cn.tb.org.service;

import cn.tb.basic.service.IBaseService;
import cn.tb.basic.util.PageList;
import cn.tb.org.domain.Department;
import cn.tb.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    //1.基本的crud可以通过继承IBaseService得到

    //2.特殊的接口需要自己写

    /**
     * 查询无限级部门树
     * @return
     */
    List<Department> deptTree();
}
